/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.core.preference;

import org.eclipse.jface.preference.IPreferenceStore;


/**
 * Defines constants for stereotype application preferences.
 * 
 * @author Agnes Lanusse
 * @since 15 feb. 07
 */
public class ProfileApplicationPreferenceConstants {
	
	// STEREOTYPE NAME APPEARANCE

	/**
	 * The Constant P_STEREOTYPE_NAME_DISPLAY_USER_CONTROLLED.
	 */
	public final static String P_STEREOTYPE_NAME_DISPLAY_USER_CONTROLLED = "User Controlled";
	/**
	 * The Constant P_STEREOTYPE_NAME_DISPLAY_UML_CONFORM.
	 */
	public final static String P_STEREOTYPE_NAME_DISPLAY_UML_CONFORM = "UML Compatibility (lower case first letter - default)";
	/**
	 * The Constant P_STEREOTYPE_NAME_APPEARANCE.
	 */
	public static final String P_STEREOTYPE_NAME_APPEARANCE = "ProfileApplicationPreferenceConstants.stereotype.name.appearance";

	/**
	 * Sets the default preferences of the Profile Application preference page.
	 * 
	 * @param store the store
	 */
	
	public static void setDefaultPreferences(IPreferenceStore store) {
		// STEREOTYPE NAME DISPLAY default mode (first letter lowercase)
		store.setDefault(P_STEREOTYPE_NAME_APPEARANCE, P_STEREOTYPE_NAME_DISPLAY_UML_CONFORM);
	}

	/**
	 * @return the p_STEREOTYPE_NAME_APPEARANCE
	 */
	public static String getP_STEREOTYPE_NAME_APPEARANCE() {
		return P_STEREOTYPE_NAME_APPEARANCE;
	}

	/**
	 * @return the p_STEREOTYPE_NAME_DISPLAY_UML_CONFORM
	 */
	public static String getP_STEREOTYPE_NAME_DISPLAY_UML_CONFORM() {
		return P_STEREOTYPE_NAME_DISPLAY_UML_CONFORM;
	}

	/**
	 * @return the p_STEREOTYPE_NAME_DISPLAY_USER_CONTROLLED
	 */
	public static String getP_STEREOTYPE_NAME_DISPLAY_USER_CONTROLLED() {
		return P_STEREOTYPE_NAME_DISPLAY_USER_CONTROLLED;
	}	
}